MaterialDesign\Plugin\Customizer\Controls D

Total Complexity 157
Dependencies 16
Dependents 1
Total lines 1,966
Lines of code 1,343
Logical lines of code 342
Comment lines 416
Methods 48
Properties 5

Methods 48

Method Rating Maintainability Complexity Lines of code
get_frontend_css()
D
28
28 151
get_typography_extra_controls()
A
32 3 152
get_google_fonts_url()
A
45 10 39
get_design_styles()
A
31 1 165
add_corner_styles_controls()
A
49 9 30
add_controls()
A
49 9 30
add_sections()
A
42 6 52
add_typography_controls()
S
47 6 41
add_color_controls()
S
47 6 38
scripts()
S
39 2 75
copy_saved_color_settings()
S
61 6 11
add_settings()
S
52 5 25
get_corner_styles_controls()
S
40 1 82
get_dark_mode_controls_override()
S
55 5 18
filter_style_section()
S
52 4 30
add_global_style_control()
S
49 2 34
show_material_components_notification()
S
71 4 6
get_dark_mode_status()
S
63 4 10
notification_dismiss()
S
60 3 13
generate_theme_variables()
S
59 3 13
get_typography_controls()
S
53 2 25
add_theme_controls()
S
48 1 39
add_learn_control()
S
56 2 19
get_icon_style()
S
70 3 5
get_option()
S
64 3 9
get_icon_collection_controls()
S
54 1 24
add_icon_collection_controls()
S
56 1 21
get_learn_controls()
S
56 1 19
register()
S
59 1 16
get_default()
S
68 2 6
prepend_slug()
S
77 2 3
prepare_option_name()
S
77 2 3
remove_option_prefix()
S
71 2 6
update_option()
S
67 2 8
sanitize_select()
S
72 2 5
get_global_style_controls()
S
59 1 15
get_typography_size_controls()
S
61 1 13
get_tracking_controls()
S
61 1 13
get_line_height_controls()
S
61 1 13
get_typography_weight_controls()
S
62 1 12
add_panel()
S
63 1 11
get_color_controls()
S
63 1 11
init()
S
64 1 9
sanitize_color_palette_json()
S
72 1 5
get_icon_collection_css()
S
79 1 3
preview_scripts()
S
66 1 9
templates()
S
82 1 3
get_source_color()
S
80 1 3